package nfwx.analytics;

/**
 * 采集信息：电量信息
 */

public class GrabBatInfo extends GrabObject {
    public final GrabBoolean exists; //是否存在
    public final GrabNumber level; //电池百分比
    public final GrabBoolean charging; //是否正在充电 
    public final GrabBoolean powerSave; //是否处于省电模式
    
    GrabBatInfo()
    {
        super(false);
        exists = (GrabBoolean)defineProperty("exists", new GrabBoolean(false));
        charging = (GrabBoolean)defineProperty("charging", new GrabBoolean(false));
        powerSave = (GrabBoolean)defineProperty("powerSave", new GrabBoolean(false));
        level = (GrabNumber)defineProperty("level", new GrabNumber(false));
    }
}
